package com.example.elderlycare.controller.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

public class RewardRecordRequestBody {
    @Data
    public static class addRewardRecord {
        private Integer employeeId;
        private Date rewardsDate;
        private Integer rewardsType;
        private Integer rewardsCount;
        private String reason;
        private String remark;
    }

    @Data
    public static class updateRewardRecord {
        private Integer id;
        private Integer employeeId;
        @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
        private Date rewardsDate;
        private Integer rewardsType;
        private Integer rewardsCount;
        private String reason;
        private String remark;
    }
}
